﻿using System;

namespace Yaml.Representation.Nodes {
    public class CollectionNode : Node{
        private bool flowStyle;

        public CollectionNode(string tag, object value, bool flowStyle)
            : base(tag, value) {
            this.flowStyle = flowStyle;
        }

        public bool FlowStyle {
            get { return this.flowStyle; }
        }
    }
}